Drop gtkboxprivate.h
authorMatthias Clasen <mclasen@redhat.com>
Tue, 5 Feb 2019 12:54:35 +0000 (07:54 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Tue, 5 Feb 2019 12:54:35 +0000 (07:54 -0500)
Not needed anymore.

docs/reference/gtk/meson.build
gtk/gtkbox.c
gtk/gtkboxprivate.h [deleted file]
gtk/gtkdialog.c

index 12147fa674ec0d11d528d5ea4302b52caf15bb15..75eb45be350f84a8658488ae4aae9e6e3026dd99 100644 (file)
@@ -11,7 +11,6 @@ private_headers = [
   'gtkapplicationprivate.h',
   'gtkbindingsprivate.h',
   'gtkbitmaskprivate.h',
-  'gtkboxprivate.h',
   'gtkbuilderprivate.h',
   'gtkbuttonprivate.h',
   'gtkcellareaboxcontextprivate.h',
index 2e952a5af03dec862c033bcb704074ed39918f83..307276c63f4c3567f1369ce2b87d397b3c83a115 100644 (file)
@@ -57,7 +57,6 @@
 #include "config.h"
 
 #include "gtkbox.h"
-#include "gtkboxprivate.h"
 #include "gtkcsspositionvalueprivate.h"
 #include "gtkintl.h"
 #include "gtkorientable.h"
@@ -1081,22 +1080,6 @@ gtk_box_forall (GtkContainer *container,
 
 }
 
-GList *
-_gtk_box_get_children (GtkBox *box)
-{
-  GtkWidget *p;
-  GList *retval = NULL;
-
-  g_return_val_if_fail (GTK_IS_BOX (box), NULL);
-
-  for (p = _gtk_widget_get_first_child (GTK_WIDGET (box));
-       p != NULL;
-       p = _gtk_widget_get_next_sibling (p))
-    retval = g_list_prepend (retval, p);
-
-  return g_list_reverse (retval);
-}
-
 /**
  * gtk_box_insert_child_after:
  * @box: a #GtkBox
diff --git a/gtk/gtkboxprivate.h b/gtk/gtkboxprivate.h
deleted file mode 100644 (file)
index 9d08da6..0000000
+++ /dev/null
@@ -1,30 +0,0 @@
-/* GTK - The GIMP Toolkit
- *
- * Copyright (C) 2011 Javier Jardón
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 2 of the License, or (at your option) any later version.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this library.  If not, see <http://www.gnu.org/licenses/>.
- */
-
-#ifndef __GTK_BOX_PRIVATE_H__
-#define __GTK_BOX_PRIVATE_H__
-
-#include "gtkbox.h"
-
-G_BEGIN_DECLS
-
-GList      *_gtk_box_get_children       (GtkBox         *box);
-
-G_END_DECLS
-
-#endif /* __GTK_BOX_PRIVATE_H__ */
index b183f37718946c0dbbc2a6c4f29ad74e5e284e25..db6cbac56ea7726a81006b9f1ca99d38941bcf2f 100644 (file)
@@ -34,7 +34,6 @@
 #include "gtklabel.h"
 #include "gtkmarshalers.h"
 #include "gtkbox.h"
-#include "gtkboxprivate.h"
 #include "gtkcontainerprivate.h"
 #include "gtkmain.h"
 #include "gtkintl.h"